package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 任务BOM
 * @Author: jeecg-boot
 * @Date:   2025-09-30
 * @Version: V1.0
 */
@Data
@TableName("wm_task_bom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="任务BOM")
public class WmTaskBom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**计划ID*/
	@Excel(name = "计划ID", width = 15)
    @Schema(description = "计划ID")
    private java.lang.String wmPlanId;
    /**任务ID（不是根任务）*/
    @Excel(name = "任务ID", width = 15)
    @Schema(description = "任务ID")
    private java.lang.String wmTaskId;
	/**需求数量*/
	@Excel(name = "需求数量", width = 15)
    @Schema(description = "需求数量")
    private java.lang.Double needNum;
	/**采购数量*/
	@Excel(name = "采购数量", width = 15)
    @Schema(description = "采购数量")
    private java.lang.Double purchaseNum;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @Schema(description = "库存数量")
    private java.lang.Double storageNum;
	/**采购状态*/
	@Excel(name = "采购状态", width = 15)
    @Schema(description = "采购状态")
    private java.lang.String purchaseStatus;
	/**采购员*/
	@Excel(name = "采购员", width = 15)
    @Schema(description = "采购员")
    private java.lang.String purchaseUserId;
	/**工艺人员*/
	@Excel(name = "工艺人员", width = 15)
    @Schema(description = "工艺人员")
    private java.lang.String processUserId;
    /**物料名称*/
    @Excel(name = "物料名称", width = 30)
    @Schema(description = "物料名称")
    private java.lang.String name;
    /**物料编码*/
    @Excel(name = "物料编码", width = 30)
    @Schema(description = "物料编码")
    private java.lang.String code;
    /**单位*/
    @Excel(name = "单位", width = 15, dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    @Schema(description = "单位")
    private java.lang.String unitOfMeasure;
    /**规格型号*/
    @Excel(name = "规格型号", width = 15)
    @Schema(description = "规格型号")
    private java.lang.String specification;
    /**材质*/
    @Excel(name = "材质", width = 15)
    @Schema(description = "材质")
    private java.lang.String material;
    /**尺寸*/
    @Excel(name = "尺寸", width = 15)
    @Schema(description = "尺寸")
    private java.lang.String size;
    /**图号/国标及规格（外购件）*/
    @Excel(name = "图号/国标及规格", width = 15)
    @Schema(description = "图号/国标及规格")
    private java.lang.String gbNumber;
    /**名 称（材料）*/
    @Excel(name = "名 称", width = 15)
    @Schema(description = "名 称")
    private java.lang.String mingCheng;
    /**物资去向*/
    @Excel(name = "物资去向", width = 15)
    @Schema(description = "物资去向")
    private java.lang.String gotowhere;
    /**材 料（材料和外购件）*/
    @Excel(name = "材 料", width = 15)
    @Schema(description = "材 料")
    private java.lang.String caiLiao;
    /**规 格（材料）*/
    @Excel(name = "规 格", width = 15)
    @Schema(description = "规 格")
    private java.lang.String guiGe;
    /**工艺单号*/
    @Excel(name = "工艺单号", width = 15)
    @Schema(description = "工艺单号")
    private java.lang.String processNo;
    /**参数及其他要求（外购件）*/
    @Excel(name = "参数及其他要求", width = 15)
    @Schema(description = "参数及其他要求")
    private java.lang.String otherRequire;
    /**序号*/
    @Excel(name = "序号", width = 15)
    @Schema(description = "序号")
    private java.lang.String seriesNo;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private java.lang.String remark;




}
